package com.park.service;

import java.util.List;

import com.park.model.Rechargerecord;

public interface RechargeRecordService {

	int deleteByPrimaryKey(Integer id);

    int insert(Rechargerecord record);

    int insertSelective(Rechargerecord record);

    Rechargerecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Rechargerecord record);

    int updateByPrimaryKey(Rechargerecord record);
    
    public List<Rechargerecord> getByParkAuthority(String userName);
    
    public List<Rechargerecord> getPageByParkId(int parkId,int start,int count);
    //充值记录搜索
    public List<Rechargerecord> getBySearchRechargeParkId(Integer parkId,String parkDesc,String plateNumber,String phoneNumber,String name);
    
    public List<Rechargerecord> getBySearchRecharge(String parkDesc,String plateNumber,String phoneNumber,String name);
}
